package com.shopee.am.entry;

import com.shopee.am.tool.SparkTool;

/**
 * @author:huanqing.cheng
 * @time:2022/1/25 5:35 下午
 * @description:
 */
public class TagService {
    public static void main(String[] args) {
        //SparkTool.query(args[0]);
        // SparkTool.query("select * from dev_opa_audiencemanager_dw.student");
        SparkTool.query("SELECT userid AS user_id, grass_region AS region, email FROM shopee_reg_mkt_anlys.crm_buyer_lifecycle WHERE crm_buyer_lifecycle.grass_date = date_sub(current_date(),2) LIMIT 300");
    }
}
